// /src/app/middleware/index.js

const authMiddleware = require('./auth.middleware'); // 权限验证中间件
const errorMiddleware = require('./error.middleware'); // 全局异常处理中间件
const loggerMiddleware = require('./logger.middleware'); // 日志相关中间件
const validationMiddleware = require('./validation.middleware'); // 请求参数验证中间件
const securityMiddleware = require('./security.middleware'); // 安全告警中间件

module.exports = {
    authMiddleware,
    errorMiddleware,
    loggerMiddleware,
    securityMiddleware,
    validationMiddleware,
};
